﻿namespace CarAppDto.Dtos
{
    /// <summary>
    /// 分页查询条件
    /// </summary>
    public class BasePageQueryDto
    {
        /// <summary>
        /// 每页的记录数
        /// </summary>
        public int PageSize { get; set; } = 20;

        /// <summary>
        /// 当前页索引
        /// </summary>
        public int PageNo { get; set; } = 1;

        /// <summary>
        /// 查询条件
        /// </summary>
        public List<FilterDto>? Filters {  get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public List<SortDto>? Sorts { get; set; }
    }
}
